--------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/xpmiki/Dropbox/ResearchProjects/bjps/replication/bjpsPerssonSundell.log
  log type:  text
 opened on:  13 Mar 2023, 10:11:53

. ********************************************************************************
. * Table 1. Congruence
. ********************************************************************************
. 
. mean inc1

Mean estimation                          Number of obs = 2,971

--------------------------------------------------------------
             |       Mean   Std. err.     [95% conf. interval]
-------------+------------------------------------------------
        inc1 |       51.3   .4049081      50.50607    52.09393
--------------------------------------------------------------

. estimates store a

. mean inc2

Mean estimation                          Number of obs = 2,971

--------------------------------------------------------------
             |       Mean   Std. err.     [95% conf. interval]
-------------+------------------------------------------------
        inc2 |   49.80543   .4093856      49.00272    50.60814
--------------------------------------------------------------

. estimates store b

. mean inc3

Mean estimation                          Number of obs = 2,971

--------------------------------------------------------------
             |       Mean   Std. err.     [95% conf. interval]
-------------+------------------------------------------------
        inc3 |   48.01602   .4215987      47.18936    48.84267
--------------------------------------------------------------

. estimates store c

. 
. mean bInc1

Mean estimation                          Number of obs = 2,971

--------------------------------------------------------------
             |       Mean   Std. err.     [95% conf. interval]
-------------+------------------------------------------------
       bInc1 |    53.6626   .4000036      52.87828    54.44691
--------------------------------------------------------------

. estimates store j

. mean bInc2

Mean estimation                          Number of obs = 2,971

--------------------------------------------------------------
             |       Mean   Std. err.     [95% conf. interval]
-------------+------------------------------------------------
       bInc2 |   55.12194   .3984673      54.34064    55.90324
--------------------------------------------------------------

. estimates store k

. mean bInc3

Mean estimation                          Number of obs = 2,971

--------------------------------------------------------------
             |       Mean   Std. err.     [95% conf. interval]
-------------+------------------------------------------------
       bInc3 |   57.06451   .4028237      56.27466    57.85435
--------------------------------------------------------------

. estimates store l

. 
. estimates table a b c ,  se(%9.2f) b(%9.2f)    style(noline)   varlabel

--------------------------------------------------------------
                Variable       a           b           c      
--------------------------------------------------------------
             (mean) inc1       51.30                          
                                0.40                          
             (mean) inc2                   49.81              
                                            0.41              
             (mean) inc3                               48.02  
                                                        0.42  
--------------------------------------------------------------
                                                  Legend: b/se

. estimates table j k l ,  se(%9.2f) b(%9.2f)    style(noline)   varlabel

--------------------------------------------------------------
                Variable       j           k           l      
--------------------------------------------------------------
                   bInc1       53.66                          
                                0.40                          
                   bInc2                   55.12              
                                            0.40              
                   bInc3                               57.06  
                                                        0.40  
--------------------------------------------------------------
                                                  Legend: b/se

. 
. 
. ********************************************************************************
. * Fig 1 
. ********************************************************************************
. 
. * By observations
. 
. gen dom31 = bInc3 - bInc1
(8 missing values generated)

. 
. 
. twoway  ///
> (scatter bInc3  bInc1 if dom31 >0 , mcolor(red%30) msymbol(o) msize(medsmall)mlabsize(medsmall)) ///
> (scatter bInc3  bInc1 if dom31 <0 , mcolor(blue%30) msymbol(o) msize(medsmall)mlabsize(medsmall)) /// 
> (function y=x, range(0 100) lcolor(black) lstyle(dash)) ///
> , ///
> legend(off) ///
> graphregion(color(white) margin(vsmall) )  ///
> fysize(100) ///
> fxsize(100) ///
> ylabel(0(25)100) ///
> xlabel(0(25)100) ///
> name(Observations, replace) ///
> title("Observations") ///
> ytitle("High-Income Congruence")
(note:  named style dash not found in class linestyle, default attributes used)
(note:  named style dash not found in class linestyle, default attributes used)

. 
. * By countries
. 
. sort country 

. by country: egen CMbInc1=mean(bInc1)
(8 missing values generated)

. by country: egen CMbInc3=mean(bInc3)    
(8 missing values generated)

. 
. gen Mdom31 = CMbInc3 - CMbInc1
(8 missing values generated)

. 
. replace country = "Czech Republic" if country == "CzechR"
(0 real changes made)

. replace country = "New Zealand" if country == "NZealand"
(0 real changes made)

. 
. sort country 

. by country:  gen one = _n

. 
. gen pos =.
(2,979 missing values generated)

. replace pos=  12
(2,979 real changes made)

. replace pos=  12 if country ==  "Sweden" 
(0 real changes made)

. replace pos=  3 if country ==  "Czech Republic" 
(75 real changes made)

. replace pos=  0 if country ==  "Norway" 
(104 real changes made)

. replace pos=  6 if country ==  "Portugal" 
(127 real changes made)

. replace pos=  6 if country ==  "Poland" 
(81 real changes made)

. replace pos=  4 if country ==  "US" 
(0 real changes made)

. replace pos=  6 if country ==  "Belgium" 
(103 real changes made)

. replace pos=  1 if country ==  "Slovenia" 
(90 real changes made)

.         
. twoway ///
>   (scatter CMbInc3  CMbInc1  if CountIssuesInCountries > 50 & one==1 & Mdom31 >0, mcolor(red) msymbol(o) msi
> ze(medsmall) mlabel(country) mlabsize(medsmall) mlabvpos(pos)) ///
>   (scatter CMbInc3  CMbInc1  if CountIssuesInCountries > 50 & one==1 & Mdom31 <0, mcolor(blue) msymbol(o) ms
> ize(medsmall) mlabel(country) mlabsize(medsmall) mlabvpos(pos)) ///
> (function y=x, range(49 62) lcolor(black) lstyle(dash)) ///
> , ///
> legend(off) ///
> graphregion(color(white) margin(tiny) )  ///
> fysize(100) ///
> fxsize(100) ///
> ylabel(50(5)60) ///
> xlabel(50(5)60) ///
> name(Countries, replace) ///
> title("Countries") 
(note:  named style dash not found in class linestyle, default attributes used)
(note:  named style dash not found in class linestyle, default attributes used)

. 
. * By issues
. 
. sort q_id 

. by q_id: egen QInc1=mean(bInc1)
(8 missing values generated)

. by q_id: egen QInc3=mean(bInc3) 
(8 missing values generated)

. 
. gen Qdom31 = QInc3 - QInc1
(8 missing values generated)

. 
. tab Qdom31

     Qdom31 |      Freq.     Percent        Cum.
------------+-----------------------------------
  -7.937998 |          6        0.20        0.20
  -7.200493 |         13        0.44        0.64
  -6.846539 |          6        0.20        0.84
  -5.965618 |          6        0.20        1.04
  -4.395744 |         31        1.04        2.09
  -3.946915 |         42        1.41        3.50
  -3.761261 |         27        0.91        4.41
  -3.718895 |         19        0.64        5.05
  -3.493267 |          2        0.07        5.12
  -3.315674 |         11        0.37        5.49
  -3.271763 |          8        0.27        5.76
   -3.21146 |         22        0.74        6.50
  -3.093189 |          5        0.17        6.66
  -3.091572 |         15        0.50        7.17
  -2.722214 |         45        1.51        8.68
  -2.658672 |         10        0.34        9.02
  -2.458012 |         13        0.44        9.46
  -2.376287 |         11        0.37        9.83
  -2.199871 |         11        0.37       10.20
  -1.960663 |          8        0.27       10.47
  -1.669788 |         43        1.45       11.92
  -1.589394 |          7        0.24       12.15
  -1.586121 |          7        0.24       12.39
  -1.513405 |         17        0.57       12.96
  -1.442921 |         40        1.35       14.30
  -1.419056 |         15        0.50       14.81
  -1.394846 |         20        0.67       15.48
   -1.32328 |          1        0.03       15.52
  -1.315544 |         19        0.64       16.16
  -1.258251 |         19        0.64       16.80
  -1.200459 |         19        0.64       17.44
  -1.165649 |         30        1.01       18.44
  -1.014839 |         30        1.01       19.45
  -.9756813 |         15        0.50       19.96
  -.9398003 |          7        0.24       20.20
  -.8765221 |         18        0.61       20.80
  -.8520393 |         25        0.84       21.64
  -.7458763 |         41        1.38       23.02
  -.7358704 |         17        0.57       23.59
  -.6432648 |         65        2.19       25.78
  -.5578651 |          5        0.17       25.95
  -.5534172 |         13        0.44       26.39
  -.5342636 |          7        0.24       26.62
  -.4417877 |         45        1.51       28.14
  -.3961258 |         15        0.50       28.64
  -.3057327 |         27        0.91       29.55
  -.2554436 |         20        0.67       30.23
  -.2510605 |         17        0.57       30.80
  -.1816521 |         12        0.40       31.20
  -.1809807 |         23        0.77       31.98
  -.1469307 |         22        0.74       32.72
  -.1024742 |          5        0.17       32.88
  -.0503387 |          5        0.17       33.05
    .057106 |         28        0.94       34.00
   .1258698 |         16        0.54       34.53
   .1975632 |          2        0.07       34.60
   .3613548 |         33        1.11       35.71
    .454216 |          2        0.07       35.78
   .4674759 |          9        0.30       36.08
   .4946518 |         17        0.57       36.65
   .5256882 |         17        0.57       37.23
   .6497383 |         29        0.98       38.20
   .6540718 |         12        0.40       38.61
   .6640129 |         19        0.64       39.25
   .6855545 |        110        3.70       42.95
   .9486771 |         16        0.54       43.49
   1.097988 |         19        0.64       44.13
   1.107811 |         19        0.64       44.77
   1.166298 |         20        0.67       45.44
   1.247231 |          4        0.13       45.57
    1.30732 |          5        0.17       45.74
   1.325211 |          4        0.13       45.88
   1.328037 |         19        0.64       46.52
   1.346195 |         12        0.40       46.92
   1.578068 |          5        0.17       47.09
   1.750313 |          7        0.24       47.32
   1.764668 |         45        1.51       48.84
   1.785713 |          1        0.03       48.87
   1.921947 |         33        1.11       49.98
   2.068516 |          3        0.10       50.08
   2.101257 |         33        1.11       51.19
   2.123634 |          8        0.27       51.46
   2.157059 |         28        0.94       52.41
   2.173588 |         10        0.34       52.74
    2.22559 |         45        1.51       54.26
   2.325279 |         12        0.40       54.66
   2.329563 |         19        0.64       55.30
   2.418011 |          6        0.20       55.50
   2.441727 |          6        0.20       55.71
   2.946432 |         37        1.25       56.95
   3.182106 |         14        0.47       57.42
   3.255386 |         18        0.61       58.03
   3.418282 |         48        1.62       59.64
   3.421799 |         21        0.71       60.35
   3.652344 |         15        0.50       60.85
   3.727386 |         15        0.50       61.36
   3.931171 |         34        1.14       62.50
   4.081009 |         21        0.71       63.21
   4.116291 |         30        1.01       64.22
   4.193813 |         12        0.40       64.62
   4.237991 |         28        0.94       65.57
   4.381035 |          6        0.20       65.77
   4.440754 |         22        0.74       66.51
   4.518517 |          4        0.13       66.64
   4.854218 |         16        0.54       67.18
   4.898415 |         23        0.77       67.96
   4.921803 |          4        0.13       68.09
   5.169495 |          6        0.20       68.29
   5.198154 |         13        0.44       68.73
    5.32653 |         18        0.61       69.34
   5.391258 |         26        0.88       70.21
   5.399525 |         58        1.95       72.16
   6.004562 |         58        1.95       74.12
   6.397125 |          4        0.13       74.25
   6.778938 |         15        0.50       74.76
   7.092159 |         28        0.94       75.70
   7.871006 |         22        0.74       76.44
   7.937496 |         18        0.61       77.04
   8.205093 |         74        2.49       79.54
   8.835098 |         34        1.14       80.68
   9.067863 |         18        0.61       81.29
   9.138142 |         22        0.74       82.03
   10.06808 |          7        0.24       82.26
    10.4292 |         30        1.01       83.27
   10.74965 |         22        0.74       84.01
   10.76413 |         12        0.40       84.42
   10.80302 |          8        0.27       84.69
   10.88124 |          2        0.07       84.75
    11.0095 |         12        0.40       85.16
   11.01908 |         11        0.37       85.53
   11.12539 |         17        0.57       86.10
   11.23865 |          5        0.17       86.27
   11.47719 |          1        0.03       86.30
   11.77854 |         40        1.35       87.65
   12.09209 |        237        7.98       95.62
   12.53954 |         30        1.01       96.63
   12.58392 |          7        0.24       96.87
   12.88707 |         29        0.98       97.85
    13.5504 |          6        0.20       98.05
   14.05555 |          7        0.24       98.28
   14.53872 |          1        0.03       98.32
   15.22254 |         12        0.40       98.72
   15.25742 |         12        0.40       99.12
   19.19237 |         15        0.50       99.63
   24.46468 |         11        0.37      100.00
------------+-----------------------------------
      Total |      2,971      100.00

. twoway ///
>   (scatter QInc3  QInc1  if Qdom31 >0,  mcolor(red%30) msymbol(o) msize(medsmall)) ///  
>   (scatter QInc3  QInc1  if Qdom31 <0, mcolor(blue%30) msymbol(o) msize(medsmall)) ///
> (function y=x, range(20 90) lcolor(black) lstyle(dash)) ///
> , ///
> legend(off) ///
> graphregion(color(white) margin(vsmall) )  ///
> fysize(100) ///
> fxsize(100) ///
> name(Issues, replace) ///
> title("Issues") ///
> ytitle("High-Income Congruence") ///
> xtitle("Low-Income Congruence") 
(note:  named style dash not found in class linestyle, default attributes used)
(note:  named style dash not found in class linestyle, default attributes used)

. 
. * By years
. 
. sort y3_year 

. by y3_year: egen YInc1=mean(bInc1)
(8 missing values generated)

. by y3_year: egen YInc3=mean(bInc3)      
(8 missing values generated)

. 
. gen Ydom31 = YInc3 - YInc1
(8 missing values generated)

. 
. twoway ///
>   (scatter YInc3  YInc1  if Ydom31 >0,  mcolor(red%30) msymbol(o) msize(medsmall)) ///
>   (scatter YInc3  YInc1  if Ydom31 <0,  mcolor(blue%30) msymbol(o) msize(medsmall)) ///
> (function y=x, range(30 80) lcolor(black) lstyle(dash)) ///
> , ///
> legend(off) ///
> graphregion(color(white) margin(tiny) )  ///
> fysize(100) ///
> fxsize(100) ///
> name(Years, replace) ///
> title("Years ") ///
> xtitle("Low-Income Congruence") ///
> ylabel(30(10)80) ///
> xlabel(30(10)80) 
(note:  named style dash not found in class linestyle, default attributes used)
(note:  named style dash not found in class linestyle, default attributes used)

. 
. 
. graph combine Observations Countries Issues Years,  ///
> graphregion(color(gs16)) ///
> iscale(1) ///
> altshrink ///
> l1title("") ///
> b1title("") ///
> name(tmp, replace) 
(note:  named style dash not found in class linestyle, default attributes used)
(note:  named style dash not found in class linestyle, default attributes used)
(note:  named style dash not found in class linestyle, default attributes used)
(note:  named style dash not found in class linestyle, default attributes used)
(note:  named style dash not found in class linestyle, default attributes used)
(note:  named style dash not found in class linestyle, default attributes used)
(note:  named style dash not found in class linestyle, default attributes used)
(note:  named style dash not found in class linestyle, default attributes used)

. 
. graph display tmp, xsize(3.5) ysize(3)

. 
. graph export "4scatters.pdf" , fontface(Times) replace as(pdf)
file /Users/xpmiki/Dropbox/ResearchProjects/bjps/replication/4scatters.pdf saved as PDF format

. */
. 
. ********************************************************************************
. * Table 2 
. ********************************************************************************
. 
. quietly eststo: mi estimate, post : reg dom31 gini_disp   i.y0_year i.countryNum i.q_switcher , robust

. estimates store a

. 
. quietly eststo: reg dom31 donate  i.countryNum i.q_switcher i.y0_year , vce(robust)

. estimates store b

. 
. replace vturn = vturn / 100
(2,971 real changes made)

. 
. quietly eststo: reg dom31 vturn  i.countryNum i.q_switcher i.y0_year  , vce(robust)

. estimates store c

. 
. replace ud = ud / 100
(2,742 real changes made)

. 
. quietly eststo: reg dom31 ud  i.countryNum i.q_switcher i.y0_year  , vce(robust)

. estimates store d

. 
. estout a b c d , cells(b(star fmt(3)) se(par fmt(3))) keep(gini_disp donate vturn ud)   stats( N) style(tex)
>  

            &           a   &           b   &           c   &           d   \\
            &        b/se   &        b/se   &        b/se   &        b/se   \\
gini_disp   &      -6.448   &               &               &               \\
            &    (14.472)   &               &               &               \\
donate      &               &       0.272   &               &               \\
            &               &     (0.509)   &               &               \\
vturn       &               &               &      -4.497   &               \\
            &               &               &     (3.615)   &               \\
ud          &               &               &               &      -1.068   \\
            &               &               &               &     (3.764)   \\
N           &    2930.000   &    2927.000   &    2930.000   &    2704.000   \\

. estimates clear

. 
. 
. ********************************************************************************
. * Appendix material
. ********************************************************************************
. 
. ********************************************************************************
. * Table 2 
. ********************************************************************************
. 
.  egen uniq = nvals(q_id), by(policyarea)

.  tab uniq policyarea

           |                                 Policy area
      uniq |         1          2          3          4          5          6          7 |     Total
-----------+-----------------------------------------------------------------------------+----------
         8 |         0          0          0          0          0          0        183 |       183 
         9 |         0          0          0          0        170          0          0 |       170 
        15 |       449          0          0          0          0          0          0 |       449 
        23 |         0          0          0          0          0        199          0 |       199 
        24 |         0          0        517          0          0          0          0 |       517 
        32 |         0          0          0        641          0          0          0 |       641 
        34 |         0        812          0          0          0          0          0 |       812 
-----------+-----------------------------------------------------------------------------+----------
     Total |       449        812        517        641        170        199        183 |     2,971 

.  
.  
. ********************************************************************************
. * Fig 1 in Appendix
. ********************************************************************************
. 
. gen direction = 1 if bInc1 > bInc3
(1,923 missing values generated)

. replace direction = 0  if bInc1 < bInc3
(1,913 real changes made)

. 
. replace country = "CzechR" if country == "Czech Republic" 
(75 real changes made)

. replace country = "NZealand" if country == "New Zealand"
(0 real changes made)

. replace country = "UK" if country == "United Kingdom"
(209 real changes made)

. replace country = "US" if country == "United States"
(0 real changes made)

. 
. 
. 
. levelsof country, local(levels) 
`"Austria"' `"Belgium"' `"Bulgaria"' `"Croatia"' `"Cyprus"' `"CzechR"' `"Denmark"' `"Estonia"' `"Finland"' `"F
> rance"' `"Germany"' `"Greece"' `"Hungary"' `"Iceland"' `"Ireland"' `"Italy"' `"Latvia"' `"Lithuania"' `"Luxe
> mbourg"' `"Netherlands"' `"Norway"' `"Poland"' `"Portugal"' `"Romania"' `"Slovakia"' `"Slovenia"' `"Spain"' 
> `"Sweden"' `"Switzerland"' `"UK"'

. foreach l of local levels {
  2. twoway   (scatter   bInc3 bInc1 if country == "`l'" & direction == 1, mcolor(red) msymbol(O) msize(medsma
> ll)) ///
>    (scatter   bInc3 bInc1 if country == "`l'" & direction == 0, mcolor(blue) msymbol(O) msize(medsmall)) ///
> , ///
> legend(off) ///
> graphregion(color(white) margin(vsmall))  ///
> fysize(90) ///
> fxsize(90) ///
> ylabel(0(25)100) ///
> xlabel( 0(25)100) ///
> name(`l', replace) ///
> title("`l'") ///
> xtitle("") ///
> ytitle("") 
  3. 
. }

. 
. 
. graph combine  Austria Belgium   CzechR Denmark Finland France Germany Greece Hungary Ireland Italy    Luxem
> bourg  Netherlands Norway Poland Portugal   Slovenia Spain Sweden Switzerland UK ,  ///
> altshrink ///
> graphregion(color(gs16)) ///
> iscale(2) ///
> l1title("High-income congruence",size(vsmall)) ///
> b1title("Low-income congruence",size(vsmall)) ///
> name(tmp, replace) ///
> ycommon

. 
. graph export "combined1.eps" , fontface(Times) replace as(eps)
file combined1.eps saved as EPS format

. 
. 
. 
.  
. ********************************************************************************
. * Fig 2 in Appendix
. ********************************************************************************
. 
. sort bInc1

. gen n1 = _n

. 
. sort bInc2

. gen n2 = _n

. 
. sort bInc3

. gen n3 = _n

. 
. 
. sort dom31

. gen n31 = _n

. 
. sort countryNum dom31

. 
. bysort countryNum: gen cn31 = _n 

. 
. egen ccn  =  count(issue_id), by(countryNum) 

. replace ccn = ccn / 2
(2,971 real changes made)

. 
. 
. set scheme s2color

.  
. gen a = 4

. 
. gen domNeg = dom31 if dom31 < 0
(1,923 missing values generated)

. replace domNeg = abs(domNeg)
(1,056 real changes made)

. 
. levelsof country, local(levels) 
`"Austria"' `"Belgium"' `"Bulgaria"' `"Croatia"' `"Cyprus"' `"CzechR"' `"Denmark"' `"Estonia"' `"Finland"' `"F
> rance"' `"Germany"' `"Greece"' `"Hungary"' `"Iceland"' `"Ireland"' `"Italy"' `"Latvia"' `"Lithuania"' `"Luxe
> mbourg"' `"Netherlands"' `"Norway"' `"Poland"' `"Portugal"' `"Romania"' `"Slovakia"' `"Slovenia"' `"Spain"' 
> `"Sweden"' `"Switzerland"' `"UK"'

. foreach l of local levels {
  2. twoway   (bar dom31  cn31 if country == "`l'" & dom31 > 0, mcolor(white)) ///
>  (bar domNeg  cn31  if country == "`l'", mcolor(blue)) ///
> (spike a ccn  if country == "`l'", lpattern(dotted) lcolor(black)) , ///
> legend(off) ///
> graphregion(color(white) margin(vsmall))  ///
> fysize(90) ///
> fxsize(90) ///
> name(`l', replace) ///
> title("`l'") ///
> xlabel("") ///
> xtitle("") ///
> ytitle("") 
  3. }
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)

. 
. 
. graph combine  Austria Belgium   CzechR Denmark Finland France Germany Greece Hungary Ireland Italy    Luxem
> bourg  Netherlands Norway Poland Portugal   Slovenia Spain Sweden Switzerland UK ,  ///
> altshrink ///
> graphregion(color(gs16)) ///
> iscale(2) ///
> l1title("") ///
> b1title("") ///
> name(tmp, replace) ///
> ycommon
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)
(note:  named style dotted not found in class linepattern, default attributes used)

. 
. graph export "combined2.eps" , fontface(Times) replace as(eps)
file combined2.eps saved as EPS format

. 
. 
. recode dom31 (-100/0=-1) (0/100=1) , gen(dprocent)
(2971 differences between dom31 and dprocent)

. 
. tab dprocent

  RECODE of |
      dom31 |      Freq.     Percent        Cum.
------------+-----------------------------------
         -1 |      1,058       35.61       35.61
          1 |      1,913       64.39      100.00
------------+-----------------------------------
      Total |      2,971      100.00

. sort country

. 
. by country: egen cdprocent=mean(dprocent)
(8 missing values generated)

. 
. ********************************************************************************
. * Fig 3 in Appendix
. ********************************************************************************
. 
. levelsof country, local(levels) 
`"Austria"' `"Belgium"' `"Bulgaria"' `"Croatia"' `"Cyprus"' `"CzechR"' `"Denmark"' `"Estonia"' `"Finland"' `"F
> rance"' `"Germany"' `"Greece"' `"Hungary"' `"Iceland"' `"Ireland"' `"Italy"' `"Latvia"' `"Lithuania"' `"Luxe
> mbourg"' `"Netherlands"' `"Norway"' `"Poland"' `"Portugal"' `"Romania"' `"Slovakia"' `"Slovenia"' `"Spain"' 
> `"Sweden"' `"Switzerland"' `"UK"'

. 
. foreach l of local levels {
  2.  
. twoway (kdensity bInc1 if country == "`l'", lcolor(red) lpattern(dash))   (kdensity bInc3 if country == "`l'
> ", lcolor(blue)) , ///
> legend(off) ///
> graphregion(color(white) margin(vsmall))  ///
> fysize(90) ///
> fxsize(90) ///
> name(`l', replace) ///
> title("`l'") ///
> xtitle("") ///
> ytitle("") ///
> xlabel(0(25)100) ///
> 
  3. }

. 
. graph combine  Austria Belgium   CzechR Denmark Finland France Germany Greece Hungary Ireland Italy    Luxem
> bourg  Netherlands Norway Poland Portugal   Slovenia Spain Sweden Switzerland UK ,  ///
> altshrink ///
> graphregion(color(gs16)) ///
> iscale(2) ///
> l1title("") ///
> b1title("") ///
> name(tmp, replace) ///
> ycommon

. 
. graph export "combined3.eps" , fontface(Times) replace as(eps)
file combined3.eps saved as EPS format

. 
. */
. 
. ********************************************************************************
. * Table 3
. ********************************************************************************
. 
. gen incdiff = inc3 - inc1 
(8 missing values generated)

. gen incdiffAbs =abs(incdiff)
(8 missing values generated)

. 
. replace inc1 = inc1 / 10
(2,971 real changes made)

. replace inc2 = inc2 / 10
(2,971 real changes made)

. replace inc3 = inc3 / 10
(2,970 real changes made)

. 
. quietly reg y3_imp inc1     i.y0_year i.countryNum i.q_switcher,  robust

. estimates store a

.  
. quietly reg y3_imp inc2     i.y0_year i.countryNum i.q_switcher ,  robust

. estimates store b

. 
. quietly reg y3_imp inc3     i.y0_year i.countryNum i.q_switcher   ,  robust 

. estimates store c

. 
. quietly reg y3_imp inc1 inc2 inc3   i.y0_year i.countryNum i.q_switcher    , robust

. estimates store d    

. 
. 
. quietly reg y3_imp incdiff inc2      i.y0_year i.countryNum i.q_switcher  ,  robust 

. estimates store e

.     
. estout a b c d e, cells(b(star fmt(3)) se(par fmt(3))) keep(_cons inc1 inc2 inc3 incdiff)       stats(r2  N)
>  style(tex) varlabels(inc1 "Low income" inc2 "Middle income" inc3 "High income" incdiff "High-Low Diff" ) 

            &           a   &           b   &           c   &           d   &           e   \\
            &        b/se   &        b/se   &        b/se   &        b/se   &        b/se   \\
Low income  &       0.021***&               &               &      -0.022   &               \\
            &     (0.003)   &               &               &     (0.013)   &               \\
Middle income&               &       0.025***&               &      -0.029   &       0.025***\\
            &               &     (0.003)   &               &     (0.019)   &     (0.003)   \\
High income &               &               &       0.031***&       0.078***&               \\
            &               &               &     (0.003)   &     (0.011)   &               \\
High-Low Diff&               &               &               &               &       0.005***\\
            &               &               &               &               &     (0.001)   \\
_cons       &       0.054   &       0.031   &      -0.011   &       0.016   &       0.037   \\
            &     (0.161)   &     (0.162)   &     (0.166)   &     (0.172)   &     (0.170)   \\
r2          &       0.239   &       0.244   &       0.254   &       0.262   &       0.260   \\
N           &    2930.000   &    2930.000   &    2930.000   &    2930.000   &    2930.000   \\

. estimates clear

. 
. 
. ********************************************************************************
. * Table 4
. ********************************************************************************
. 
. quietly reg y1_imp inc1     i.y0_year i.countryNum i.q_switcher ,  robust

. estimates store a

.  
. quietly reg y1_imp inc2     i.y0_year i.countryNum i.q_switcher ,  robust

. estimates store b

. 
. quietly reg y1_imp inc3     i.y0_year i.countryNum i.q_switcher ,  robust 

. estimates store c

. 
. quietly reg y1_imp inc1 inc2 inc3   i.y0_year i.countryNum i.q_switcher   , robust

. estimates store d

. 
. quietly reg y1_imp incdiff inc2      i.y0_year i.countryNum i.q_switcher ,  robust 

. estimates store e

.     
. estout a b c d e, cells(b(star fmt(3)) se(par fmt(3))) keep(_cons inc1 inc2 inc3 incdiff)       stats(r2  N)
>  style(tex) varlabels(inc1 "Low income" inc2 "Middle income" inc3 "High income" incdiff "High-Low Diff" ) 

            &           a   &           b   &           c   &           d   &           e   \\
            &        b/se   &        b/se   &        b/se   &        b/se   &        b/se   \\
Low income  &       0.016***&               &               &      -0.005   &               \\
            &     (0.003)   &               &               &     (0.012)   &               \\
Middle income&               &       0.018***&               &      -0.028   &       0.018***\\
            &               &     (0.003)   &               &     (0.018)   &     (0.003)   \\
High income &               &               &       0.022***&       0.053***&               \\
            &               &               &     (0.003)   &     (0.011)   &               \\
High-Low Diff&               &               &               &               &       0.003***\\
            &               &               &               &               &     (0.001)   \\
_cons       &       0.033   &       0.020   &      -0.006   &       0.007   &       0.024   \\
            &     (0.159)   &     (0.160)   &     (0.163)   &     (0.167)   &     (0.165)   \\
r2          &       0.181   &       0.184   &       0.189   &       0.192   &       0.190   \\
N           &    2923.000   &    2923.000   &    2923.000   &    2923.000   &    2923.000   \\

. estimates clear

. 
. ********************************************************************************
. * Table 5
. ********************************************************************************
. 
. 
. quietly reg y2_imp inc1     i.y0_year i.countryNum i.q_switcher ,  robust

. estimates store a

.  
. quietly reg y2_imp inc2     i.y0_year i.countryNum i.q_switcher ,  robust

. estimates store b

. 
. quietly reg y2_imp inc3     i.y0_year i.countryNum i.q_switcher ,  robust 

. estimates store c

. 
. quietly reg y2_imp inc1 inc2 inc3   i.y0_year i.countryNum i.q_switcher   , robust

. estimates store d

. 
. quietly reg y2_imp incdiff inc2      i.y0_year i.countryNum i.q_switcher ,  robust 

. estimates store e

.     
. estout a b c d e, cells(b(star fmt(3)) se(par fmt(3))) keep(_cons inc1 inc2 inc3 incdiff)       stats(r2  N)
>  style(tex) varlabels(inc1 "Low income" inc2 "Middle income" inc3 "High income" incdiff "High-Low Diff" ) 

            &           a   &           b   &           c   &           d   &           e   \\
            &        b/se   &        b/se   &        b/se   &        b/se   &        b/se   \\
Low income  &       0.023***&               &               &      -0.013   &               \\
            &     (0.003)   &               &               &     (0.013)   &               \\
Middle income&               &       0.027***&               &      -0.040*  &       0.027***\\
            &               &     (0.003)   &               &     (0.020)   &     (0.003)   \\
High income &               &               &       0.033***&       0.082***&               \\
            &               &               &     (0.003)   &     (0.011)   &               \\
High-Low Diff&               &               &               &               &       0.005***\\
            &               &               &               &               &     (0.001)   \\
_cons       &       0.025   &       0.004   &      -0.038   &      -0.015   &       0.011   \\
            &     (0.161)   &     (0.162)   &     (0.166)   &     (0.172)   &     (0.170)   \\
r2          &       0.217   &       0.222   &       0.233   &       0.240   &       0.237   \\
N           &    2907.000   &    2907.000   &    2907.000   &    2907.000   &    2907.000   \\

. estimates clear

. 
. ********************************************************************************
. * Table 6
. ********************************************************************************
. 
. * constructing country weights
. gen n = e(N)

. gen s = e(sample)

. 
. egen countryN =count(issue_id) if s == 1  , by(countryNum) 
(72 missing values generated)

. gen countryW = (n / 36) / countryN 
(72 missing values generated)

. 
. quietly reg y3_imp inc1     i.y0_year i.countryNum i.q_switcher [pweight=countryW]  ,  robust

. estimates store a

.  
. quietly reg y3_imp inc2     i.y0_year i.countryNum i.q_switcher [pweight=countryW]  ,  robust

. estimates store b

. 
. quietly reg y3_imp inc3     i.y0_year i.countryNum i.q_switcher [pweight=countryW]  ,  robust 

. estimates store c

. 
. quietly reg y3_imp inc1 inc2 inc3   i.y0_year i.countryNum i.q_switcher [pweight=countryW]    , robust

. estimates store d    

. 
. 
. quietly reg y3_imp incdiff inc2      i.y0_year i.countryNum i.q_switcher [pweight=countryW]  ,  robust 

. estimates store e

.     
. estout a b c d e, cells(b(star fmt(3)) se(par fmt(3))) keep(_cons inc1 inc2 inc3 incdiff)       stats(r2  N)
>  style(tex) varlabels(inc1 "Low income" inc2 "Middle income" inc3 "High income" incdiff "High-Low Diff" ) 

            &           a   &           b   &           c   &           d   &           e   \\
            &        b/se   &        b/se   &        b/se   &        b/se   &        b/se   \\
Low income  &       0.017***&               &               &      -0.010   &               \\
            &     (0.004)   &               &               &     (0.014)   &               \\
Middle income&               &       0.021***&               &      -0.037   &       0.022***\\
            &               &     (0.004)   &               &     (0.021)   &     (0.004)   \\
High income &               &               &       0.026***&       0.070***&               \\
            &               &               &     (0.004)   &     (0.013)   &               \\
High-Low Diff&               &               &               &               &       0.004***\\
            &               &               &               &               &     (0.001)   \\
_cons       &       0.078   &       0.060   &       0.022   &       0.035   &       0.056   \\
            &     (0.162)   &     (0.162)   &     (0.165)   &     (0.171)   &     (0.169)   \\
r2          &       0.258   &       0.261   &       0.267   &       0.272   &       0.270   \\
N           &    2907.000   &    2907.000   &    2907.000   &    2907.000   &    2907.000   \\

. estimates clear

. 
. ********************************************************************************
. * Table 7
. ********************************************************************************
. 
. * constructing question weights
. egen questionN =count(issue_id) , by(q_id) 

. gen questionW = (n / 145) / questionN 
(8 missing values generated)

. 
. * effects if income groups with question weights, table 4 in the appendix
. 
. quietly reg y3_imp inc1     i.y0_year i.countryNum i.q_switcher [pweight=questionW]  ,  robust

. estimates store a

.  
. quietly reg y3_imp inc2     i.y0_year i.countryNum i.q_switcher [pweight=questionW]  ,  robust

. estimates store b

. 
. quietly reg y3_imp inc3     i.y0_year i.countryNum i.q_switcher [pweight=questionW]  ,  robust 

. estimates store c

. 
. quietly reg y3_imp inc1 inc2 inc3   i.y0_year i.countryNum i.q_switcher [pweight=questionW]    , robust

. estimates store d    

. 
. 
. quietly reg y3_imp incdiff inc2      i.y0_year i.countryNum i.q_switcher [pweight=questionW]  ,  robust 

. estimates store e

. 
.     
. estout a b c d e, cells(b(star fmt(3)) se(par fmt(3))) keep(_cons inc1 inc2 inc3 incdiff)       stats(r2  N)
>  style(tex) varlabels(inc1 "Low income" inc2 "Middle income" inc3 "High income" incdiff "High-Low Diff" ) 

            &           a   &           b   &           c   &           d   &           e   \\
            &        b/se   &        b/se   &        b/se   &        b/se   &        b/se   \\
Low income  &       0.019***&               &               &      -0.027   &               \\
            &     (0.004)   &               &               &     (0.017)   &               \\
Middle income&               &       0.024***&               &      -0.037   &       0.024***\\
            &               &     (0.004)   &               &     (0.026)   &     (0.004)   \\
High income &               &               &       0.031***&       0.090***&               \\
            &               &               &     (0.004)   &     (0.014)   &               \\
High-Low Diff&               &               &               &               &       0.006***\\
            &               &               &               &               &     (0.001)   \\
_cons       &      -0.049   &      -0.077   &      -0.116   &      -0.085   &      -0.071   \\
            &     (0.080)   &     (0.080)   &     (0.080)   &     (0.080)   &     (0.081)   \\
r2          &       0.214   &       0.219   &       0.230   &       0.243   &       0.241   \\
N           &    2930.000   &    2930.000   &    2930.000   &    2930.000   &    2930.000   \\

. estimates clear

. 
. ********************************************************************************
. * Table 9
. ********************************************************************************
. 
. quietly eststo: mi estimate, post : reg bInc1 gini_disp i.y0_year i.countryNum i.q_switcher , robust

. estimates store a

. 
. quietly eststo: mi estimate, post : reg bInc3 gini_disp  i.y0_year i.countryNum  i.q_switcher, robust

. estimates store b

.         
. quietly eststo:  reg bInc1 donate  i.countryNum i.q_switcher  i.y0_year , vce(robust)

. estimates store c

. 
. quietly eststo: reg bInc3 donate  i.countryNum i.q_switcher i.y0_year , vce(robust)

. estimates store d

. 
. quietly eststo: reg bInc1 vturn  i.countryNum i.q_switcher i.y0_year , vce(robust)

. estimates store e

. 
. quietly eststo: reg bInc3 vturn  i.countryNum i.q_switcher i.y0_year , vce(robust)

. estimates store f

. 
. quietly eststo: reg bInc1 ud  i.countryNum i.q_switcher i.y0_year , vce(robust)

. estimates store g

. 
. quietly eststo: reg bInc3 ud  i.countryNum i.q_switcher i.y0_year , vce(robust)

. estimates store h

. 
. 
. estout a b c d e f g h , cells(b(star fmt(3)) se(par fmt(3))) keep(gini_disp donate vturn ud)   stats( N) st
> yle(tex) 

            &           a   &           b   &           c   &           d   &           e   &           f   & 
>           g   &           h   \\
            &        b/se   &        b/se   &        b/se   &        b/se   &        b/se   &        b/se   & 
>        b/se   &        b/se   \\
gini_disp   &       1.590   &      -4.859   &               &               &               &               & 
>               &               \\
            &    (32.984)   &    (31.415)   &               &               &               &               & 
>               &               \\
donate      &               &               &      -1.392   &      -1.120   &               &               & 
>               &               \\
            &               &               &     (1.061)   &     (1.062)   &               &               & 
>               &               \\
vturn       &               &               &               &               &       5.818   &       1.321   & 
>               &               \\
            &               &               &               &               &     (9.444)   &     (8.765)   & 
>               &               \\
ud          &               &               &               &               &               &               & 
>       0.300   &      -0.768   \\
            &               &               &               &               &               &               & 
>     (9.550)   &     (8.857)   \\
N           &    2930.000   &    2930.000   &    2927.000   &    2927.000   &    2930.000   &    2930.000   & 
>    2704.000   &    2704.000   \\

. estimates clear

. 
. 
. ********************************************************************************
. * Figure 4
. ********************************************************************************
. 
. graph twoway ///
> (scatter dom31 vturn, mcolor(red%20) msymbol(o) msize(vmed)) ///
> (qfitci dom31 vturn , level(95)) ///
> , /// 
>  legend(off) ///
> graphregion(color(white) margin(vsmall) )  ///
> fysize(100) ///
> fxsize(100) ///
> name(Turnout, replace) ///
> title("Turnout") ///
> ytitle("Inequality in Congruence ") ///
> title("Voter Turnout")  ///
> xtitle("")
(note:  named style vmed not found in class symbolsize, default attributes used)

. 
. 
. graph twoway ///
> (scatter dom31 donate, mcolor(gray%20) msymbol(o) msize(///)) ///
> (qfitci dom31 donate) , /// 
>  legend(off) ///
> graphregion(color(white) margin(vsmall) )  ///
> fysize(100) ///
> fxsize(100) ///
> name(Campaign, replace) ///
> title("Campaign") ///
> ytitle("Inequality in Congruence ") ///
> title("Campaign Regulations") ///
> xtitle("")
(note:  named style / / / not found in class symbolsize, default attributes used)

.   
. 
. egen gini_dispM = rowmedian(_1_gini_disp _2_gini_disp _3_gini_disp _4_gini_disp _5_gini_disp _6_gini_disp _7
> _gini_disp _8_gini_disp _9_gini_disp _10_gini_disp _11_gini_disp _12_gini_disp _13_gini_disp _14_gini_disp _
> 15_gini_disp _16_gini_disp _17_gini_disp _18_gini_disp _19_gini_disp _20_gini_disp _21_gini_disp _22_gini_di
> sp _23_gini_disp _24_gini_disp _25_gini_disp _26_gini_disp _27_gini_disp _28_gini_disp _29_gini_disp _30_gin
> i_disp _31_gini_disp _32_gini_disp _33_gini_disp _34_gini_disp _35_gini_disp _36_gini_disp _37_gini_disp _38
> _gini_disp _39_gini_disp _40_gini_disp _41_gini_disp _42_gini_disp _43_gini_disp _44_gini_disp _45_gini_disp
>  _46_gini_disp _47_gini_disp _48_gini_disp _49_gini_disp _50_gini_disp _51_gini_disp _52_gini_disp _53_gini_
> disp _54_gini_disp _55_gini_disp _56_gini_disp _57_gini_disp _58_gini_disp _59_gini_disp _60_gini_disp _61_g
> ini_disp _62_gini_disp _63_gini_disp _64_gini_disp _65_gini_disp _66_gini_disp _67_gini_disp _68_gini_disp _
> 69_gini_disp _70_gini_disp _71_gini_disp _72_gini_disp _73_gini_disp _74_gini_disp _75_gini_disp _76_gini_di
> sp _77_gini_disp _78_gini_disp _79_gini_disp _80_gini_disp _81_gini_disp _82_gini_disp _83_gini_disp _84_gin
> i_disp _85_gini_disp _86_gini_disp _87_gini_disp _88_gini_disp _89_gini_disp _90_gini_disp _91_gini_disp _92
> _gini_disp _93_gini_disp _94_gini_disp _95_gini_disp _96_gini_disp _97_gini_disp _98_gini_disp _99_gini_disp
>  _100_gini_disp)
(8 missing values generated)

. 
. graph twoway ///
> (scatter dom31 gini_dispM, mcolor(green%20) msymbol(o) msize(///)) ///
> (qfitci dom31 gini_dispM) , /// 
>  legend(off) ///
> graphregion(color(white) margin(vsmall) )  ///
> fysize(100) ///
> fxsize(100) ///
> name(Income, replace) ///
> title("Issues") ///
> ytitle("Inequality in Congruence ") ///
> title("Income Inequality") ///
> xtitle("")
(note:  named style / / / not found in class symbolsize, default attributes used)

. 
. graph twoway ///
> (scatter dom31 ud, mcolor(blue%20) msymbol(o) msize(///)) ///
> (qfitci dom31 ud) , /// 
>  legend(off) ///
> graphregion(color(white) margin(vsmall) )  ///
> fysize(100) ///
> fxsize(100) ///
> name(Union, replace) ///
> title("Issues") ///
> ytitle("Inequality in Congruence ") ///
> title("Union Density") ///
> xtitle("")
(note:  named style / / / not found in class symbolsize, default attributes used)

. 
. graph combine Turnout Income Union Campaign,  ///
> graphregion(color(gs16)) ///
> iscale(1) ///
> altshrink ///
> l1title("") ///
> b1title("") ///
> name(tmp, replace) 
(note:  named style vmed not found in class symbolsize, default attributes used)
(note:  named style / / / not found in class symbolsize, default attributes used)
(note:  named style / / / not found in class symbolsize, default attributes used)
(note:  named style / / / not found in class symbolsize, default attributes used)

. 
. graph display tmp, xsize(3.5) ysize(3)

. 
. graph export "4reg.pdf" , fontface(Times) replace as(pdf)
file /Users/xpmiki/Dropbox/ResearchProjects/bjps/replication/4reg.pdf saved as PDF format

. 
. ********************************************************************************
. * Table 11
. *******************************************************************************
. 
. quietly eststo: mi estimate, post : reg dom31 gini_disp   i.y0_year i.countryNum i.q_switcher i.q_id  , robu
> st

. estimates store r1

. quietly eststo: reg dom31 donate  i.countryNum i.q_switcher i.y0_year i.q_id , vce(robust)

. estimates store r2

. quietly eststo: reg dom31 vturn  i.countryNum i.q_switcher i.y0_year i.q_id  , vce(robust)

. estimates store r3

. quietly eststo: reg dom31 ud  i.countryNum i.q_switcher i.y0_year  i.q_id , vce(robust)

. estimates store r4

. 
. estout r1 r2 r3 r4, cells(b(star fmt(3)) se(par fmt(3))) keep(gini_disp donate vturn ud)        stats( N) st
> yle(tex) 

            &          r1   &          r2   &          r3   &          r4   \\
            &        b/se   &        b/se   &        b/se   &        b/se   \\
gini_disp   &      -4.498   &               &               &               \\
            &    (13.169)   &               &               &               \\
donate      &               &       0.117   &               &               \\
            &               &     (0.443)   &               &               \\
vturn       &               &               &      -3.798   &               \\
            &               &               &     (3.309)   &               \\
ud          &               &               &               &      -3.711   \\
            &               &               &               &     (3.427)   \\
N           &    2930.000   &    2927.000   &    2930.000   &    2704.000   \\

. estimates clear

. 
. 
. ********************************************************************************
. * Table 10
. *******************************************************************************
. 
. replace inc1  =  inc1  * 10
(2,971 real changes made)

. replace inc2  =  inc2  * 10 
(2,971 real changes made)

. replace inc3  =  inc3  * 10 
(2,970 real changes made)

. 
. 
. collapse (mean) inc1 inc2 inc3 bInc1 bInc2 bInc3 , by(q_id countryNum)

. 
. mean inc1

Mean estimation                          Number of obs = 1,935

--------------------------------------------------------------
             |       Mean   Std. err.     [95% conf. interval]
-------------+------------------------------------------------
        inc1 |   51.52864   .5026691      50.54281    52.51447
--------------------------------------------------------------

. estimates store m

. mean inc2

Mean estimation                          Number of obs = 1,935

--------------------------------------------------------------
             |       Mean   Std. err.     [95% conf. interval]
-------------+------------------------------------------------
        inc2 |   50.45613   .5024337      49.47076     51.4415
--------------------------------------------------------------

. estimates store n

. mean inc3

Mean estimation                          Number of obs = 1,935

--------------------------------------------------------------
             |       Mean   Std. err.     [95% conf. interval]
-------------+------------------------------------------------
        inc3 |   49.25663   .5072752      48.26177     50.2515
--------------------------------------------------------------

. estimates store o

. 
. 
. mean bInc1

Mean estimation                          Number of obs = 1,935

--------------------------------------------------------------
             |       Mean   Std. err.     [95% conf. interval]
-------------+------------------------------------------------
       bInc1 |   53.58166   .4877398       52.6251    54.53821
--------------------------------------------------------------

. estimates store p

. mean bInc2

Mean estimation                          Number of obs = 1,935

--------------------------------------------------------------
             |       Mean   Std. err.     [95% conf. interval]
-------------+------------------------------------------------
       bInc2 |   54.73551   .4825306      53.78917    55.68184
--------------------------------------------------------------

. estimates store q

. mean bInc3

Mean estimation                          Number of obs = 1,935

--------------------------------------------------------------
             |       Mean   Std. err.     [95% conf. interval]
-------------+------------------------------------------------
       bInc3 |   56.13542   .4804566      55.19315    57.07769
--------------------------------------------------------------

. estimates store r

. 
. estimates table m n o ,  se(%9.2f) b(%9.2f)    style(noline)   varlabel

--------------------------------------------------------------
                Variable       m           n           o      
--------------------------------------------------------------
             (mean) inc1       51.53                          
                                0.50                          
             (mean) inc2                   50.46              
                                            0.50              
             (mean) inc3                               49.26  
                                                        0.51  
--------------------------------------------------------------
                                                  Legend: b/se

. estimates table p q r  ,  se(%9.2f) b(%9.2f)    style(noline)   varlabel

--------------------------------------------------------------
                Variable       p           q           r      
--------------------------------------------------------------
            (mean) bInc1       53.58                          
                                0.49                          
            (mean) bInc2                   54.74              
                                            0.48              
            (mean) bInc3                               56.14  
                                                        0.48  
--------------------------------------------------------------
                                                  Legend: b/se

. 
. 
. log close
      name:  <unnamed>
       log:  /Users/xpmiki/Dropbox/ResearchProjects/bjps/replication/bjpsPerssonSundell.log
  log type:  text
 closed on:  13 Mar 2023, 10:13:56
--------------------------------------------------------------------------------------------------------------
